﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="categories.ascx.cs" Inherits="View_categories" %>
<!-- .portfolio_item-->
<div class="portfolio_item">
    <!-- .one_half -->
    <asp:DataList runat="server" ID="articles">
        <ItemTemplate>
            <div class="one_half">
                <div class="portimg">
                    <div class="porthumb" style="height: 200px;">
                        <a href='default.aspx?action=article&id=<%#Eval("article_id") %>' class="lightbox">
                            <img src='<%#Eval("image") %>' alt="" width="320" class="image" /></a>
                    </div>
                    <div class="drop_shadow">
                        <img src="images/drop_shadow.png" width="320" /></div>
                </div>
            </div>
            <!-- .one_half -->
            <!-- .one_half -->
            <div class="one_half last">
                <div class="port_content">
                    <h3>
                        <a href='default.aspx?action=article&id=<%#Eval("article_id") %>'><%#Eval("article_name") %></a></h3>
                    <p>
                        <span class="p_date">J<%#Eval("date_added") %></span></p>
                    <p>
                        <%#Eval("article_sumary") %></p>
                    <p>
                        <a href='default.aspx?action=article&id=<%#Eval("article_id") %>' class="button gray small"><span>Chi Tiết</span></a></p>
                </div>
            </div>
            <div class="clear" style="margin-bottom:30px;"></div>
        </ItemTemplate>
    </asp:DataList>
</div>
<!-- .portfolio_item-->
<div class="divider_space">
</div>
